package com.eric.demo.binlog;

import java.io.IOException;

/**
 * @author ZhangGuangyin on 2018/8/9
 */
public class BinaryLogClientTest {

    public static void main(String[] argvs) throws IOException {
        BinaryLogClient client = new BinaryLogClient("10.111.6.45", 3306, "binlogadmin", "binlogtest180807@ymm");
        client.setBinlogFilename("mysql-bin.000026");
        client.setBinlogPosition(584416521);
        client.connect();
    }
}
